<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml"   
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:cc="http://java.sun.com/jsf/composite"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:a4j="http://richfaces.org/a4j"
      xmlns:rich="http://richfaces.org/rich">
      
    <cc:interface>
        <cc:attribute name="url" />
        <cc:attribute name="text" />
    </cc:interface>
 
    <cc:implementation>
        <a 
            href="https://twitter.com/share" 
            class="twitter-share-button" 
            data-url="http://suaparte.org/#{cc.attrs.url}" 
            data-text="#{cc.attrs.text}" 
            data-lang="pt" 
            data-hashtags="suaparte">Tweetar
        </a>
        <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>

    </cc:implementation>
	
</html>
